package com.example.iot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.iot.entity.Patch;
import com.example.iot.service.PatchService;
import com.example.iot.mapper.PatchMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 18364
* @description 针对表【patch】的数据库操作Service实现
* @createDate 2023-09-26 13:09:30
*/
@Service
public class PatchServiceImpl extends ServiceImpl<PatchMapper, Patch>
    implements PatchService{
    @Autowired
    PatchMapper patchMapper;
    @Override
    public List<Patch> selectAll() {
        List<Patch> list =patchMapper.selectList(null);
        return list;
    }
}




